import { createStore } from 'vuex'

export const store = createStore({
  state () {
    return {
      user:''
    }
  },
  mutations: {
    setUser (state, value) {
      state.user=value;
    }
  }
})